package com.yc.cloud.admin.service;


import com.yc.cloud.common.cache.service.BaseCacheService;
import com.yc.cloud.entity.UmsResource;

import java.util.List;

/**
 * 后台用户缓存操作Service
 * Created by macro on 2020/3/13.
 */
public interface UmsResourceCacheService extends BaseCacheService<UmsResource> {

    /**
     * 获取缓存后台用户资源列表
     */
    List<UmsResource> getByUserName(String username);

    void setByUserName(String username, List<UmsResource> resourceList);


    void delByUserName(String username);
}
